import Home from '../pages/Home/index'
import List from '../pages/List/index'
import {createBrowserRouter} from 'react-router-dom'
 const router = createBrowserRouter([
  {
    path: '/',
    element: <Home />
  },{
    path: '/List',
    element: <List />
  }
])
export default router